package material.command.remote;

import material.command.receiver_命令接收者.Light;
import material.command.simpleRemote.LightOnCommand;

public class LightOffCommand implements Command {
    Light light;

    public LightOffCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        light.off();
    }
}
